sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g UPP-5_10%_ptPowTo0_gain) <(sort --key=1 -g rawResultsHumanJudgedQueries_UPP-5_10%_ptPowTo0_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > UPP-5_10%_ptPowTo0_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g UPP-5_20%_ptPowTo0_gain) <(sort --key=1 -g rawResultsHumanJudgedQueries_UPP-5_20%_ptPowTo0_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > UPP-5_20%_ptPowTo0_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g UPP-5_30%_ptPowTo0_gain) <(sort --key=1 -g rawResultsHumanJudgedQueries_UPP-5_30%_ptPowTo0_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > UPP-5_30%_ptPowTo0_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g UPP-5_40%_ptPowTo0_gain) <(sort --key=1 -g rawResultsHumanJudgedQueries_UPP-5_40%_ptPowTo0_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > UPP-5_40%_ptPowTo0_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g UPP-5_50%_ptPowTo0_gain) <(sort --key=1 -g rawResultsHumanJudgedQueries_UPP-5_50%_ptPowTo0_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > UPP-5_50%_ptPowTo0_20141022_FINAL

sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g docHits_10%_gain) <(sort --key=1 -g rawResults_10%_HumanJudgedQueries_docHits_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > docHits_10%_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g docHits_20%_gain) <(sort --key=1 -g rawResults_20%_HumanJudgedQueries_docHits_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > docHits_20%_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g docHits_30%_gain) <(sort --key=1 -g rawResults_30%_HumanJudgedQueries_docHits_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > docHits_30%_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g docHits_40%_gain) <(sort --key=1 -g rawResults_40%_HumanJudgedQueries_docHits_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > docHits_40%_20141022_FINAL
sort --key=6 -g -r <(awk '{print $1,$2,$3,$4,$5,($2-$3)/$5}' <(join <(join <(sort --key=1 -g docHits_50%_gain) <(sort --key=1 -g rawResults_50%_HumanJudgedQueries_docHits_20141022_RAW_QPC_tier1)) <(sort --key=1 -g rawResults_real90%_150HumanJudgeQueries_pretendToBe100%_UPP-5_ptPowTo1_20141022_RAW_QPC_tier2) )) > docHits_50%_20141022_FINAL
